#pragma once

class MVCodec
{
public:
	MVCodec(void);
	~MVCodec(void);

public:
	static int PickMV(BYTE *pFrame,long lFrameSize,TG_MV_SRC *pMVSrc);

public:
	int Create(TG_MV_SRC *pMVSrc,void **ppFrame,long &lFrameSize);
	int Create(void *pHead,void* pData,int nLenHead,int nLenData,char cNalType,unsigned long   lTimeStamp,void **ppFrame,long &lFrameSize);

private:
	BYTE  m_OutBuf[20*1024];

};
